package com.shoux.api.web.entity.apiData;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author xiaoZhi
 * @since 2022-03-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wx_precreditresult_l1")
@ApiModel(value="WxPrecreditresultL1Entity对象", description="")
public class WxPrecreditresultL1Entity extends Model<WxPrecreditresultL1Entity> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "企业名称")
    @TableField("companyName")
    private String companyname;

    @ApiModelProperty(value = "社会统一信用代码")
    @TableField("creditCode")
    private String creditcode;

    @ApiModelProperty(value = "是否准入，1准入，0不准入")
    @TableField("isAllow")
    private String isallow;

    @ApiModelProperty(value = "评分卡")
    @TableField("scoreCard")
    private Double scorecard;

    @ApiModelProperty(value = "预授信额度")
    @TableField("creditRange")
    private Double creditrange;

    @ApiModelProperty(value = "预授信计算时间")
    @TableField("creaditTime")
    private String creadittime;

    @ApiModelProperty(value = "最终预授信额度")
    @TableField("creaditRangeFinal")
    private String creaditRangeFinal;

    @ApiModelProperty(value = "最终预授信额度")
    @TableField("creaditRangeFinal_time")
    private LocalDateTime creaditRangeFinalTime;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
